<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<link rel="stylesheet" href="../layui/css/layui.css">
		<link rel="stylesheet" type="text/css" href="../css/base.css">
		<link href="../css/dhtmlgoodies_calendar.css" rel="stylesheet" type="text/css">
		<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	</head>

	<body onload="showMe();" class="sheet modal-dialog">
		<div class="sheet-main" id="bodyDiv">
			<form class="layui-form" name="frm" method="post" enctype="multipart/form-data">
				<div class="sheet-list">
					<div class="modal-main search-business">
						<div style="width:100%;">

							<h3>新增日程</h3>
							<div class="blank24"></div>
							<div class="layui-row">
								<div class="layui-col-sm4">
									<div class="layui-form-item">
										<label class="layui-form-label"><span class="MustInput">*</span>主题：</label>
										<div class="layui-input-inline">
											<input class="layui-input" placeholder="" type="text" maxlength="50" id="communicate.title" name="communicate.title" name="linkman" value="">
										</div>
									</div>
								</div>
								<div class="layui-col-sm4">
									<div class="layui-form-item">
										<label class="layui-form-label"><span class="MustInput">*</span>日期：</label>
										<div class="layui-input-inline" style="width: 85px;">
											<input type="text" class="layui-input" maxlength="15" id="communicateTimeStr" name="communicateTimeStr" value="2017-07-05">
										</div>
										<div class="layui-input-inline" style="width: 55px;">
											<select id="orderDateHourSelect">
												<option value="00">00</option>
												<option value="01">01</option>
												<option value="02">02</option>
												<option value="03">03</option>
												<option value="04">04</option>
												<option value="05">05</option>
												<option value="06">06</option>
												<option value="07">07</option>
												<option value="08">08</option>
												<option value="09">09</option>
												<option value="10">10</option>
												<option value="11">11</option>
												<option value="12">12</option>
												<option value="13">13</option>
												<option value="14">14</option>
												<option value="15">15</option>
												<option value="16">16</option>
												<option value="17" selected="">17</option>
												<option value="18">18</option>
												<option value="19">19</option>
												<option value="20">20</option>
												<option value="21">21</option>
												<option value="22">22</option>
												<option value="23">23</option>
											</select>
										</div>
										<div class="layui-input-inline" style="width: 55px;">
											<select id="orderDateMinuteSelect">
												<option value="00" selected="">00</option>
												<option value="01">01</option>
												<option value="02">02</option>
												<option value="03">03</option>
												<option value="04">04</option>
												<option value="05">05</option>
												<option value="06">06</option>
												<option value="07">07</option>
												<option value="08">08</option>
												<option value="09">09</option>
												<option value="10">10</option>
												<option value="11">11</option>
												<option value="12">12</option>
												<option value="13">13</option>
												<option value="14">14</option>
												<option value="15">15</option>
												<option value="16">16</option>
												<option value="17">17</option>
												<option value="18">18</option>
												<option value="19">19</option>
												<option value="20">20</option>
												<option value="21">21</option>
												<option value="22">22</option>
												<option value="23">23</option>
												<option value="24">24</option>
												<option value="25">25</option>
												<option value="26">26</option>
												<option value="27">27</option>
												<option value="28">28</option>
												<option value="29">29</option>
												<option value="30">30</option>
												<option value="31">31</option>
												<option value="32">32</option>
												<option value="33">33</option>
												<option value="34">34</option>
												<option value="35">35</option>
												<option value="36">36</option>
												<option value="37">37</option>
												<option value="38">38</option>
												<option value="39">39</option>
												<option value="40">40</option>
												<option value="41">41</option>
												<option value="42">42</option>
												<option value="43">43</option>
												<option value="44">44</option>
												<option value="45">45</option>
												<option value="46">46</option>
												<option value="47">47</option>
												<option value="48">48</option>
												<option value="49">49</option>
												<option value="50">50</option>
												<option value="51">51</option>
												<option value="52">52</option>
												<option value="53">53</option>
												<option value="54">54</option>
												<option value="55">55</option>
												<option value="56">56</option>
												<option value="57">57</option>
												<option value="58">58</option>
												<option value="59">59</option>
											</select>
										</div>
									</div>
								</div>
								<div class="layui-col-sm4">
									<div class="layui-form-item">
										<label class="layui-form-label">客户：</label>
										<div class="layui-input-inline">
											<input class="layui-input" placeholder="" type="text" maxlength="25" onkeyup="goNextInput(&#39;fax&#39;);" id="phone" name="phone" value="">
										</div>
										<label class="layui-form-mid"><a href="">选择</a></label>
									</div>
								</div>
							</div>
							<div class="layui-form-item layui-form-text">
								<label class="layui-form-label"><span class="MustInput">*</span>内容：</label>
								<div class="layui-input-block">
									<textarea style="width: 600px;" placeholder="" class="layui-textarea"></textarea>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">附件：</label>
								<div class="layui-input-inline">
									<input type="file" class="layui-input">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label"><span class="MustInput">*</span>类型：</label>
								<div class="layui-input-inline">
									<input type="radio" name="aiRadio" value="0" title="日志" checked="">
									<input type="radio" name="aiRadio" value="1" title="任务">
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label"></label>
								<label class="layui-form-mid">	
注：日志只能当天修改，过期只有系统管理员admin可删除；任务的修改删除不受限制</label>
							</div>

						</div>
					</div>
				</div>
				<div class="modal-buttom" id="buttonDiv">
					<input type="button" class="buttom-a" value=" 保 存 " onclick="doSave(&#39;&#39;);">

					<input type="button" class="buttom-a" value="保存并新增" onclick="doSave(&#39;1&#39;);">

					<input type="button" class="buttom-a" value=" 取 消 " onclick="doCancel();">
					<input type="hidden" name="continue_flag" id="continue_flag" value="0">

					<input type="hidden" id="communicateTimeHour" name="communicateTimeHour" value="17">
					<input type="hidden" id="communicateTimeMinute" name="communicateTimeMinute" value="00">
					<input type="hidden" id="srDateHour" name="srDateHour" value="18">
					<input type="hidden" id="srDateMinute" name="srDateMinute" value="00">
					<input type="hidden" id="tmpCode" name="tmpCode" value="25_1499245222861">

					<input type="hidden" id="communicateTimeHour" name="communicateTimeHour" value="16">
					<input type="hidden" id="communicateTimeMinute" name="communicateTimeMinute" value="10">
					<input type="hidden" id="srDateHour" name="srDateHour" value="17">
					<input type="hidden" id="srDateMinute" name="srDateMinute" value="10">
					<input type="hidden" id="tmpCode" name="tmpCode" value="1_1499328651427">
				</div>
				<div class="modal-buttom" id="waitDiv" style="display:none">
					<span style="color:#ffffff">请稍候...</span>
				</div>

			</form>
		</div>

		<audio controls="controls" style="display: none;"></audio>

		<script src="../layui/layui.all.js "></script>
		<script>
			layui.use('laydate', function() {
				var laydate = layui.laydate;

				//常规用法
				laydate.render({
					elem: '#communicateTimeStr'
				});

			});
		</script>
	</body>

</html>